home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 November / macformat-109.iso / Demos / Alice Demo / demo / pak0.pk3 / scripts / special.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  8.7 KB  |  410 lines

  1. textures/special/km_flame
  2. {
  3.     deformvertexes autosprite2
  4.     surfaceparm nomarks
  5.     surfaceparm nolightmap
  6.     cull none
  7.     q3map_surfacelight 0
  8.     qer_editorimage textures/special/flame1.tga
  9.     
  10.     {
  11.         animMap 10 textures/special/flame1.tga textures/special/flame2.tga textures/special/flame3.tga textures/special/flame4.tga textures/special/flame5.tga textures/special/flame6.tga textures/special/flame7.tga textures/special/flame8.tga
  12.         blendFunc GL_ONE GL_ONE
  13.         rgbGen wave inverseSawtooth 0 1 0 10
  14.         
  15.     }    
  16.     {
  17.         animMap 10 textures/special/flame2.tga textures/special/flame3.tga textures/special/flame4.tga textures/special/flame5.tga textures/special/flame6.tga textures/special/flame7.tga textures/special/flame8.tga textures/special/flame1.tga
  18.         blendFunc GL_ONE GL_ONE
  19.         rgbGen wave sawtooth 0 1 0 10
  20.     }
  21. }
  22. //B&W fire
  23. textures/special/bw_flame
  24. {
  25.     deformvertexes autosprite2
  26.     surfaceparm nomarks
  27.     surfaceparm nolightmap
  28.     cull none
  29.     q3map_surfacelight 0
  30.     qer_editorimage textures/special/bw_flame1.tga
  31.     
  32.     {
  33.         animMap 10 textures/special/bw_flame1.tga textures/special/bw_flame2.tga textures/special/bw_flame3.tga textures/special/bw_flame4.tga textures/special/bw_flame5.tga textures/special/bw_flame6.tga textures/special/bw_flame7.tga textures/special/bw_flame8.tga
  34.         blendFunc GL_ONE GL_ONE
  35.         rgbGen wave inverseSawtooth 0 1 0 10
  36.         
  37.     }    
  38.     {
  39.         animMap 10 textures/special/bw_flame2.tga textures/special/bw_flame3.tga textures/special/bw_flame4.tga textures/special/bw_flame5.tga textures/special/bw_flame6.tga textures/special/bw_flame7.tga textures/special/bw_flame8.tga textures/special/bw_flame1.tga
  40.         blendFunc GL_ONE GL_ONE
  41.         rgbGen wave sawtooth 0 1 0 10
  42.     }
  43. }
  44.  
  45.  
  46. textures/special/teleporter2_1
  47. {
  48.     surfaceparm nolightmap
  49.     surfacelight 2500
  50.     qer_editorimage textures/special/teleporter2_1.tga
  51.     q3map_surfacelight 2500
  52.     {
  53.         clampmap textures/special/teleporter2_3.tga
  54.         tcmod rotate 60
  55.         tcMod stretch sin 1.000000 0.100000 0.000000 0.500000
  56.     }
  57.     {
  58.         clampmap textures/special/teleporter2_1.tga
  59.         tcmod rotate 40
  60.         tcMod stretch sin 1.000000 0.100000 0.000000 .3
  61.         blendfunc add
  62.     }
  63.     {
  64.         animmap 12 textures/special/teleporter2_2.tga textures/special/teleporter2_2.tga             
  65.         blendfunc add
  66.         tcmod rotate -30
  67.  
  68.         //rgbGen wave sawtooth 0.000000 0.90000 0.0000000 0.200000
  69.         //rgbGen wave sin .5 0.5 0 7
  70.     }
  71.     //{
  72.             //map textures/special/slv_mirror01.tga
  73.         //blendfunc gl_src_alpha gl_one_minus_src_alpha
  74.         //blendfunc gl_one gl_one
  75.         //alphagen dot 1 .5
  76.         //tcmod rotate -30
  77.         //tcmod scale 2 2
  78.         //tcGen environment                
  79.     //}    
  80.     
  81. }
  82.  
  83.  
  84. textures/special/teleporter2_1red
  85. {
  86.     surfaceparm nolightmap
  87.     surfacelight 2500
  88.     qer_editorimage textures/special/teleporter2_1red.tga
  89.     q3map_surfacelight 2500
  90.     {
  91.         clampmap textures/special/teleporter2_2red.tga
  92.         tcmod rotate 60
  93.         tcMod stretch sin 1.000000 0.100000 0.000000 0.900000
  94.     }
  95.     {
  96.         clampmap textures/special/teleporter2_1red.tga
  97.         tcmod rotate 40
  98.         tcMod stretch sin 1.000000 0.100000 0.000000 0.900000
  99.         blendfunc add
  100.     }
  101.     {
  102.         animmap 12 textures/special/teleporter2_2.tga textures/special/teleporter2_2.tga             
  103.         blendfunc add
  104.         tcmod rotate 30
  105.         //rgbGen wave sawtooth 0.000000 0.90000 0.0000000 0.200000
  106.         //rgbGen wave sin .5 0.5 0 7
  107.     }
  108.     //{
  109.             //map textures/metal/slv_mirror04.tga
  110.              //blendFunc GL_DST_COLOR GL_SRC_COLOR    
  111.         //tcGen environment
  112.         //tcmod scale .1 .1
  113.         //tcmod scroll .1 0        
  114.     //}
  115.     
  116. }
  117.  
  118. //textures/special/teleporter2_1_test
  119. //{
  120.     //surfaceparm nolightmap
  121.     //qer_trans 0.5
  122.     //surfacelight 1500
  123.     //qer_editorimage textures/special/teleporter2_1.tga
  124.     //q3map_surfacelight 1500
  125.     //{ 
  126.         //clampmap textures/special/teleporter2_1.tga
  127.         //blendFunc GL_ONE GL_ONE
  128.         //tcMod scale 0.6 0.6
  129.         //tcMod rotate 20        
  130.     //}
  131.     //{
  132.         //clampmap textures/special/teleporter2_1.tga
  133.         //blendFunc GL_ONE GL_ONE
  134.         //tcmod rotate 60
  135.         //tcMod stretch sin 1.200000 0.100000 0.000000 0.400000
  136.     //}
  137.     //{
  138.         //animmap 12 textures/special/teleporter2_2.tga textures/special/teleporter2_2.tga             
  139.         //blendfunc add
  140.         //tcmod rotate -30
  141.         //rgbGen wave sawtooth 0.000000 0.90000 0.0000000 0.200000
  142.         //rgbGen wave sin .5 0.5 0 7
  143.     //}
  144.     //{
  145.             //map textures/metal/slv_mirror02.tga
  146.              //blendFunc blend        
  147.         //tcGen environment
  148.         //tcmod scale .1 .1
  149.         //tcmod scroll .1 0        
  150.     //}
  151. //}
  152.  
  153. Textures/special/swipe
  154. {
  155.     cull none
  156.     surfaceparm nolightmap
  157.     {
  158.            clampmap textures/special/swipe.tga
  159.         blendFunc GL_ONE GL_ONE
  160.     }
  161. }
  162.  
  163. Textures/special/swipe1
  164. {
  165.     cull none
  166.     surfaceparm nolightmap
  167.     {
  168.            clampmap textures/special/swipe1.tga
  169.         blendFunc GL_ONE GL_ONE
  170.     }
  171. }
  172.  
  173. textures/special/swipe_knife
  174. {
  175.     cull none
  176.     surfaceparm nolightmap
  177.     {
  178.            clampmap textures/special/swipe_knife.tga
  179.         blendFunc GL_ONE GL_ONE
  180.     }
  181. }
  182.  
  183. textures/special/swipe_queen
  184. {
  185.     cull none
  186.     surfaceparm nolightmap
  187.     {
  188.            clampmap textures/special/swipe_queen.tga
  189.         blendFunc GL_ONE GL_ONE
  190.     }
  191. }
  192.  
  193. textures/special/swipe_jacks
  194. {
  195.     cull none
  196.     surfaceparm nolightmap
  197.     {
  198.            clampmap textures/special/swipe_jacks.tga
  199.         blendFunc GL_ONE GL_ONE
  200.     }
  201. }
  202.  
  203. textures/special/swipe_lightning
  204. {
  205.     cull none
  206.     surfaceparm nolightmap
  207.     {
  208.            clampmap textures/special/lightning2.tga
  209.         blendFunc GL_ONE GL_ONE
  210.     }
  211. }
  212.  
  213. textures/common/flatbeamshader
  214. {
  215.     cull none
  216.     surfaceparm nolightmap
  217.     nomipmaps
  218.     nopicmip
  219.     {
  220.         map textures/common/flatbeamshader.tga
  221.         blendfunc GL_ONE GL_ZERO
  222.     }
  223. }
  224.  
  225. ropeshader
  226. {
  227.     cull none
  228.     nopicmip
  229.     surfaceparm nolightmap
  230.     {
  231.         map textures/special/rope.tga
  232.         tcMod scale 1 4
  233.         rgbGen identity
  234.     }
  235. }
  236.  
  237. chainshader
  238. {
  239.     cull none
  240.     nopicmip
  241.     surfaceparm nolightmap
  242.     {
  243.         map textures/detail/chain01_1sh.tga
  244.         tcMod scale 1 2
  245.         rgbGen identity
  246.     }
  247. }
  248.  
  249. textures/special/icechain
  250. {
  251.     cull none
  252.     nopicmip
  253.     surfaceparm nolightmap
  254.     {
  255.         map textures/special/icechain.tga
  256.         rgbGen identity
  257.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  258.         alphaGen vertex
  259.         tcMod scale 5 1
  260.     }
  261. }
  262.  
  263. textures/special/spiderwebbeam
  264. {
  265.     cull none
  266.     nopicmip
  267.     surfaceparm nolightmap
  268.     {
  269.         map textures/special/spiderwebbeam.tga
  270.         rgbGen identity
  271.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  272.         alphaGen vertex
  273.         tcMod scale 5 1
  274.     }
  275. }
  276.  
  277. textures/special/drugfade
  278. {
  279.     nopicmip
  280.     surfaceparm nolightmap
  281.     {
  282.         map textures/special/drugfade.tga
  283.         //blendfunc GL_DST_COLOR GL_ONE
  284.         blendfunc GL_DST_COLOR GL_SRC_COLOR
  285.         //blendfunc gl_src_alpha gl_one_minus_src_alpha
  286.  
  287.         rgbGen vertex
  288.         alphaGen vertex
  289.         tcMod turb sin 0.1 0.05 0.1 0.08
  290.         tcMod rotate 8
  291.     }
  292.     {
  293.         clampmap textures/special/drugfade2.tga
  294.         //blendfunc GL_DST_COLOR GL_ONE
  295.         //blendfunc GL_DST_COLOR GL_SRC_COLOR
  296.         blendfunc gl_zero gl_src_alpha
  297.  
  298.         rgbGen vertex
  299.         alphaGen vertex
  300.     }
  301. }
  302.  
  303. textures/special/icefade
  304. {
  305.     nopicmip
  306.     surfaceparm nolightmap
  307.     {
  308.         map textures/special/icefade.tga
  309.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  310.         alphafunc GE128
  311.         rgbGen identity
  312.         alphaGen vertex
  313.         tcMod scale 2 2
  314.         tcMod scroll 0 -0.02
  315.     }
  316. }
  317.  
  318. textures/effects/fade_portal
  319. {
  320.  
  321.     portal
  322.     surfaceparm nolightmap
  323.     qer_editorimage textures/effects/reflights2.tga
  324.     {
  325.         map textures/effects/skoolref.tga
  326.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  327.         alphagen portal 768
  328.         tcGen environment
  329.         //rgbGen identityLighting    
  330.         //tcmod turb sin 0 .5 0 1
  331.         //tcmod rotate .1 .1
  332.         //tcmod scroll .01 .03
  333.     }    
  334. }
  335.  
  336. textures/effects/chess_portal
  337. {
  338.  
  339.     portal
  340.     surfaceparm nolightmap
  341.     qer_editorimage textures/chess/wall_mirror1_1sh.tga
  342.     {
  343.         map textures/chess/wall_mirror1_1sh.tga
  344.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  345.         rgbGen identityLighting        
  346.     }
  347. }    
  348.  
  349. textures/special/gardenflat1
  350. {
  351.     cull disable
  352.     qer_editorimage textures/special/gardenflat1.tga
  353.     {
  354.         map textures/special/gardenflat1.tga
  355.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  356.         alphatest greaterequal .3        
  357.     }
  358.     {
  359.         map $lightmap
  360.         blendfunc gl_zero gl_src_color
  361.         depthfunc equal
  362.     }
  363. }
  364.  
  365. textures/special/gardenflat2
  366. {
  367.     cull disable
  368.     qer_editorimage textures/special/gardenflat2.tga
  369.     {
  370.         map textures/special/gardenflat2.tga
  371.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  372.         alphatest greaterequal .3        
  373.     }
  374.     {
  375.         map $lightmap
  376.         blendfunc gl_zero gl_src_color
  377.         depthfunc equal
  378.     }
  379. }
  380.  
  381. textures/special/fortressflat1
  382. {
  383.     cull disable
  384.     qer_editorimage textures/special/fortressflat1.tga
  385.     {
  386.         map textures/special/fortressflat1.tga
  387.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  388.         alphatest greaterequal .3        
  389.     }
  390.     {
  391.         map $lightmap
  392.         blendfunc gl_zero gl_src_color
  393.         depthfunc equal
  394.     }
  395. }
  396.  
  397. textures/special/jim_mirror
  398. {
  399.     surfaceparm nolightmap
  400.     qer_editorimage textures/special/tele_swirl.tga
  401.     {
  402.         map textures/effects/funhouse.tga
  403.         tcgen environment
  404.         tcmod scale 2 2
  405.     }    
  406.     {
  407.         map textures/special/funborder.tga
  408.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  409.     }
  410. }